<template>
  <div>
    <button @click="gotoLogin()">后台</button>
  </div>
</template>

<script setup>
import { ref, reactive } from "vue";
import { useRouter, useRoute } from "vue-router";
import axios from "axios";
const router = useRouter();
const route = useRoute();
const gotoLogin = async () => {
  router.push({ path: "/login" });
};
</script>

<style lang="scss" scoped>
</style>